Rails.application.routes.draw do
	scope PluginRoutes.system_info["relative_url_root"], as: "zerocms" do
		default_url_options PluginRoutes.default_url_options

		# public
    get 'error', as: "error", to: 'zerocms/zerocms#render_error'
    eval(PluginRoutes.load("main"))
	end
end
